\doxysection{C\+:/\+Users/\+ASUS/\+Desktop/dm-\/ctrl\+H7-\/balance-\/9025test/\+Drivers/\+STM32\+H7xx\+\_\+\+HAL\+\_\+\+Driver/\+Inc/stm32h7xx\+\_\+hal\+\_\+hsem.h File Reference}
\hypertarget{stm32h7xx__hal__hsem_8h}{}\label{stm32h7xx__hal__hsem_8h}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Drivers/STM32H7xx\_HAL\_Driver/Inc/stm32h7xx\_hal\_hsem.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Drivers/STM32H7xx\_HAL\_Driver/Inc/stm32h7xx\_hal\_hsem.h}}


Header file of HSEM HAL module.  


{\ttfamily \#include "{}stm32h7xx\+\_\+hal\+\_\+def.\+h"{}}\newline
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___h_s_e_m___exported___macros_gabadef2e6fddb0bb11e9e9c6930b12ffa}{\+\_\+\+\_\+\+HAL\+\_\+\+HSEM\+\_\+\+SEMID\+\_\+\+TO\+\_\+\+MASK}}(\+\_\+\+\_\+\+SEMID\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Sem\+ID to mask helper Macro. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___h_s_e_m___exported___macros_gaa21d53e6c4d6d35e9047b5c74fb78c8f}{\+\_\+\+\_\+\+HAL\+\_\+\+HSEM\+\_\+\+ENABLE\+\_\+\+IT}}(\+\_\+\+\_\+\+SEM\+\_\+\+MASK\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Enables the specified HSEM interrupts. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___h_s_e_m___exported___macros_ga36496851508be9cace265482a7d18e53}{\+\_\+\+\_\+\+HAL\+\_\+\+HSEM\+\_\+\+DISABLE\+\_\+\+IT}}(\+\_\+\+\_\+\+SEM\+\_\+\+MASK\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Disables the specified HSEM interrupts. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___h_s_e_m___exported___macros_gacba979398283173d1ee412b5edbdd108}{\+\_\+\+\_\+\+HAL\+\_\+\+HSEM\+\_\+\+GET\+\_\+\+IT}}(\+\_\+\+\_\+\+SEM\+\_\+\+MASK\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Checks whether interrupt has occurred or not for semaphores specified by a mask. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___h_s_e_m___exported___macros_gadb48c4b1d695a3dc4f3b72fdfc11d807}{\+\_\+\+\_\+\+HAL\+\_\+\+HSEM\+\_\+\+GET\+\_\+\+FLAG}}(\+\_\+\+\_\+\+SEM\+\_\+\+MASK\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Get the semaphores release status flags. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___h_s_e_m___exported___macros_ga0b123be50de8a360f3eb103b56cf3c39}{\+\_\+\+\_\+\+HAL\+\_\+\+HSEM\+\_\+\+CLEAR\+\_\+\+FLAG}}(\+\_\+\+\_\+\+SEM\+\_\+\+MASK\+\_\+\+\_\+)
\begin{DoxyCompactList}\small\item\em Clears the HSEM Interrupt flags. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___h_s_e_m___private___macros_gaf7003533fe10b73e9ffbd6713a6cd498}{IS\+\_\+\+HSEM\+\_\+\+SEMID}}(\+\_\+\+\_\+\+SEMID\+\_\+\+\_\+)
\item 
\#define \mbox{\hyperlink{group___h_s_e_m___private___macros_gaa43cd847758a3f1a6bc33137e7461e94}{IS\+\_\+\+HSEM\+\_\+\+PROCESSID}}(\+\_\+\+\_\+\+PROCESSID\+\_\+\+\_\+)
\item 
\#define \mbox{\hyperlink{group___h_s_e_m___private___macros_gaedf0f6b95c261b193b9084799e850f09}{IS\+\_\+\+HSEM\+\_\+\+KEY}}(\+\_\+\+\_\+\+KEY\+\_\+\+\_\+)
\item 
\#define \mbox{\hyperlink{group___h_s_e_m___private___macros_ga75baea81c38321c1f25d06eddd4f729e}{IS\+\_\+\+HSEM\+\_\+\+COREID}}(\+\_\+\+\_\+\+COREID\+\_\+\+\_\+)
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\+\_\+\+Status\+Type\+Def}} {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Take} (uint32\+\_\+t Sem\+ID, uint32\+\_\+t Process\+ID)
\item 
\mbox{\hyperlink{stm32h7xx__hal__def_8h_a63c0679d1cb8b8c684fbb0632743478f}{HAL\+\_\+\+Status\+Type\+Def}} {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Fast\+Take} (uint32\+\_\+t Sem\+ID)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Release} (uint32\+\_\+t Sem\+ID, uint32\+\_\+t Process\+ID)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Release\+All} (uint32\+\_\+t Key, uint32\+\_\+t Core\+ID)
\item 
uint32\+\_\+t {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Is\+Sem\+Taken} (uint32\+\_\+t Sem\+ID)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Set\+Clear\+Key} (uint32\+\_\+t Key)
\item 
uint32\+\_\+t {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Get\+Clear\+Key} (void)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Activate\+Notification} (uint32\+\_\+t Sem\+Mask)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Deactivate\+Notification} (uint32\+\_\+t Sem\+Mask)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+Free\+Callback} (uint32\+\_\+t Sem\+Mask)
\item 
void {\bfseries HAL\+\_\+\+HSEM\+\_\+\+IRQHandler} (void)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Header file of HSEM HAL module. 

\begin{DoxyAuthor}{Author}
MCD Application Team 
\end{DoxyAuthor}
\begin{DoxyAttention}{Attention}

\end{DoxyAttention}
Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-\/\+IS. 